package com.unlcn.ils.erpInterfaces.dao.model;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * SMCUSTOMER 客户信息
 * </p>
 *
 * @author liangpeng
 * @since 2018-06-08
 */
public class Smcustomer extends Model<Smcustomer> {

    private static final long serialVersionUID = 1L;

	/**
	 * 暂估标识（0、未暂估，1、暂估）
	 */
	private Long tentative;

	/**
	 * 江铃集团标志
	 */
	private Integer bjiangling;

	/**
	 * 是否有六位车标准价，默认为0没有，1表示有
	 */
	private String vcsixsizeflag;

	/**
	 * 分公司id
	 */
	private Long ibranchid;

	/**
	 * 业务性质id
	 */
	private Long ibusinessid;

	/**
	 * 销售责任人
	 */
	private String vcsaleresponsible;

	/**
	 * 客户体系ID
	 */
	private Long icustid;

	/**
	 * 订单审核标志(0:需要,1:不需要审核)
	 */
	private Long bcheck;

	/**
	 * 公司地址
	 */
	private String vcaddress2;

	/**
	 * 客户类型
	 */
	private Long itype;

	/**
	 * 客户属性(0：内部,1：外部)
	 */
	private Long iflag;

	/**
	 * 维护日期
	 */
	private Date dtdate;

	/**
	 * 维护人员用户名
	 */
	private String vcuserno;

	/**
	 * 有效性(0:无效,1：有效)
	 */
	private Long bactive;

	/**
	 * 客户全名
	 */
	private String vccompanyname;

	/**
	 * 公司ID
	 */
	private Long icompanyid;

	/**
	 * 所属城市
	 */
	private String vccityname;

	/**
	 * -公司所属省份
	 */
	private String vcprovince;

	/**
	 * 公司注册地
	 */
	private String vcaddress;

	/**
	 * 联系电话
	 */
	private String vctel;

	/**
	 * 客户联系人
	 */
	private String vccontact;

	/**
	 * 客户简称
	 */
	private String vccustomername;

	/**
	 * 客户编号
	 */
	private String vccustomerno;

	/**
	 * 序号
	 */
	@TableId(type = IdType.INPUT)
	private Long ilineid;


	public Long getTentative() {
		return tentative;
	}

	public void setTentative(Long tentative) {
		this.tentative = tentative;
	}

	public Integer getBjiangling() {
		return bjiangling;
	}

	public void setBjiangling(Integer bjiangling) {
		this.bjiangling = bjiangling;
	}

	public String getVcsixsizeflag() {
		return vcsixsizeflag;
	}

	public void setVcsixsizeflag(String vcsixsizeflag) {
		this.vcsixsizeflag = vcsixsizeflag;
	}

	public Long getIbranchid() {
		return ibranchid;
	}

	public void setIbranchid(Long ibranchid) {
		this.ibranchid = ibranchid;
	}

	public Long getIbusinessid() {
		return ibusinessid;
	}

	public void setIbusinessid(Long ibusinessid) {
		this.ibusinessid = ibusinessid;
	}

	public String getVcsaleresponsible() {
		return vcsaleresponsible;
	}

	public void setVcsaleresponsible(String vcsaleresponsible) {
		this.vcsaleresponsible = vcsaleresponsible;
	}

	public Long getIcustid() {
		return icustid;
	}

	public void setIcustid(Long icustid) {
		this.icustid = icustid;
	}

	public Long getBcheck() {
		return bcheck;
	}

	public void setBcheck(Long bcheck) {
		this.bcheck = bcheck;
	}

	public String getVcaddress2() {
		return vcaddress2;
	}

	public void setVcaddress2(String vcaddress2) {
		this.vcaddress2 = vcaddress2;
	}

	public Long getItype() {
		return itype;
	}

	public void setItype(Long itype) {
		this.itype = itype;
	}

	public Long getIflag() {
		return iflag;
	}

	public void setIflag(Long iflag) {
		this.iflag = iflag;
	}

	public Date getDtdate() {
		return dtdate;
	}

	public void setDtdate(Date dtdate) {
		this.dtdate = dtdate;
	}

	public String getVcuserno() {
		return vcuserno;
	}

	public void setVcuserno(String vcuserno) {
		this.vcuserno = vcuserno;
	}

	public Long getBactive() {
		return bactive;
	}

	public void setBactive(Long bactive) {
		this.bactive = bactive;
	}

	public String getVccompanyname() {
		return vccompanyname;
	}

	public void setVccompanyname(String vccompanyname) {
		this.vccompanyname = vccompanyname;
	}

	public Long getIcompanyid() {
		return icompanyid;
	}

	public void setIcompanyid(Long icompanyid) {
		this.icompanyid = icompanyid;
	}

	public String getVccityname() {
		return vccityname;
	}

	public void setVccityname(String vccityname) {
		this.vccityname = vccityname;
	}

	public String getVcprovince() {
		return vcprovince;
	}

	public void setVcprovince(String vcprovince) {
		this.vcprovince = vcprovince;
	}

	public String getVcaddress() {
		return vcaddress;
	}

	public void setVcaddress(String vcaddress) {
		this.vcaddress = vcaddress;
	}

	public String getVctel() {
		return vctel;
	}

	public void setVctel(String vctel) {
		this.vctel = vctel;
	}

	public String getVccontact() {
		return vccontact;
	}

	public void setVccontact(String vccontact) {
		this.vccontact = vccontact;
	}

	public String getVccustomername() {
		return vccustomername;
	}

	public void setVccustomername(String vccustomername) {
		this.vccustomername = vccustomername;
	}

	public String getVccustomerno() {
		return vccustomerno;
	}

	public void setVccustomerno(String vccustomerno) {
		this.vccustomerno = vccustomerno;
	}

	public Long getIlineid() {
		return ilineid;
	}

	public void setIlineid(Long ilineid) {
		this.ilineid = ilineid;
	}

	@Override
	protected Serializable pkVal() {
		return this.ilineid;
	}

}
